package com.sumainfor.pc.market.fallback.ZfallBack;

import com.sumainfor.common.util.JsonResult;
import com.sumainfor.pc.market.feign.Zfeign.ZpcGmioFeign;
import com.sumainfor.pc.market.feign.Zfeign.ZpcMktFeign;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * 调用运营部的服务
 */

@Component
public class ZpcGmioFallback implements ZpcGmioFeign {

    @Override
    public JsonResult addTenantBillForPact(Map<String, Object> params) {
        return JsonResult.error("服务器繁忙.");
    }

    @Override
    public JsonResult addSeBill(Map<String, Object> params) {
        return JsonResult.error("服务器繁忙.");
    }

    @Override
    public JsonResult getRdChargesDeptList(Map<String, Object> params) {
        return JsonResult.error("服务器繁忙.");
    }

    @Override
    public JsonResult getDiDaCount(Map<String, Object> params) {
        return JsonResult.error("运营部服务器繁忙.");
    }

    @Override
    public JsonResult getChargesData(String chaId) {
        return JsonResult.error("运营部服务器繁忙.");
    }

    @Override
    public JsonResult getChaId(Map<String, Object> params) {
        return JsonResult.error("运营部服务器繁忙");
    }

    @Override
    public Map<String, Object> getGEW(Map<String, Object> params) {
        return new HashMap<>();
    }

    @Override
    public Map<String, Object> getGEWOut(Map<String, Object> params) {
        return new HashMap<>();
    }

    @Override
    public List<Map<String, Object>> getGEWTuiZu(Map<String, Object> params) {
        return new ArrayList<>();
    }

    @Override
    public List<Map<String, Object>> getGEWTuiZuOut(Map<String, Object> params) {
        return new ArrayList<>();
    }

    @Override
    public List<Map<String, Object>> getRoomMoney(Map<String, Object> params) {
        return new ArrayList<>();
    }

    @Override
    public Map<String, Object> getcharge(Map<String, Object> params) {
        return new HashMap<>();
    }

    @Override
    public Map<String, Object> getWatNumber(Map<String, Object> params) {
        return new HashMap<>();
    }

    @Override
    public Map<String, Object> getGasNumber(Map<String, Object> params) {
        return new HashMap<>();
    }

    @Override
    public Map<String, Object> getEleNumber(Map<String, Object> params) {
        return new HashMap<>();
    }

    @Override
    public List<Map<String, Object>> getOwerdeal(Map<String, Object> params) {
        return new ArrayList<>();
    }

    @Override
    public Map<String, Object> getTenwithdrawal(Map<String, Object> params) {
        return new HashMap<>();
    }
}
